package com.work.customer.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RabbitmqConfig {

    public static final String CUSTOMER_QUEUE="customer_queue";

    @Bean
    public Queue CUSTOMER_QUEUE(){
        return new Queue(CUSTOMER_QUEUE,true);
    }

}
